#!/usr/bin/python


from twisted.web import script
from twisted.web import server
from twisted.web import static
from twisted.web import twcgi
from twisted.web import util
from twisted.web.resource import Resource
import VirusWallConfig

    
def makePageChild():
    '''All Page Child Will be load here
    '''
    
    #define root service
    root = static.File(VirusWallConfig.HTDOCS_ROOT_PATH)    
        
    root.processors = {
                       '.cgi': twcgi.CGIScript, \
                       '.rpy': script.ResourceScript, \
                       }
    
    return root